Added test for domain objects