domain constraints tests
more tests for domains, new constraint validation class for hostname