Tests for admin routes