JUnit tests for pojos