handling 3xx responses, a bit better tests