Fixed tests, added role validation when enrolling a person in a class