mock url validate