test: add flow classify unit tests