Added test suite for admin routes
Changes because I found bugs when making the test suite