added test for redirect widget