new tests for new query objects