Added in redirect with test case.