add test case for domain