test sessions working