added regression test to ensure that blocks passed to perform are maintained for each redirect