add redirectstatus
tests for redirectstatus
fix wrong param name docstring