added additional tests, coded out some of the Validator class