- fixed unit test error for query encoding