add test coverage for admin routes