test cases for passthrough, filter and partition query