Unit test for EnrollmentValidator.