Add basic tests for session handling
Add expanded session testing