test for sessions