added unit tests for domain classes
modified pom