test redirect with params