Fix typo
Update tests for Domain object