Test for redirect leak bug.