Add test for sessions failure action