validation added, test cases fixed
Merge pull request #2 from Ancestry/feature/addValidation

validation added, test cases fixed