Enhance ValidatorFactory test