add test for logout redirect