Change deletion test to use stubbed referrer and reflect redirect to referrer