Fixed test on domain rewrite.