increasing code coverage

found out admin routes weren't being tested.
clean up code organization with helper functions.
added template fixtures.