fix tests for 302 status instead of 301