Add tests for DomainMethods