add a acceptance test for more cases of the domain/domains hostname pattern
try to fix travis part 3