add validation tests for domain classes

add travis build config file