Test cleanup and change to expect syntax
More test cleanup
Added DomainObject.build method
Merge pull request #63 from mcamou/#28

refs #28: implement the DomainObject.build method
Set parent reference when adding a child