Add tests for deep validation and fix isValid() signature inconsistency
Merge pull request #7 from anotherpit/master

Add tests for deep validation and fix isValid() signature inconsistency