validate by
Merge pull request #33 from racehub/feature/validate_by

Add "validate by" with tests