tests for admin route