updated test for cancel_url