fixed test for subdomains not cleaned properly