Stubbing out query overrides