Test redirect repair