test to show problem with None object in get_obj_perms