Add test for browser redirect