Added session-based tests.