test rewritten url reassignment