Remove unnecessary code from tests

- As far as I can tell having `frequency` in the query does nothing
- There's an empty test - I can't figure out whether this test is
  needed or not based on its name