- added tests for domain validation