Refactoring UserPermission tests to be a little cleaner