unit test for list query passed