testing helpers

- needs pruning
- doesn't test helper methods that hit the database. These should probably be moved away from a helper.