fix check_admin() test