Added simple test for redirect