Fixing typo and a minor issue in UserHasRoleTest.