fix unit test for video query service