Remove test code for admin roles
Fixed incorrect function called