Change: enhance query test suite.

Add test for when secondary query does not match.