changes to ValidatorTest.java