create test for redirect after incorrect params