test on domain extraction