[W8 JS Test App] Fix query test to get same behavior between client and
service