added Unit Testing
added first tests
extended the functionality of the Validator