Add basic tests for domains.