Added test for multiple key names in equalsQuery