added test cases for flow sets and fixed an issue when comparing different types of flow sets