Added test_helper support for subdomains