Validation helper with tests
Merge pull request #750 from brandondean/validation-helper

Validation helper with tests