added a test for subdomain option