Integration tests for sessions