Add more tests to cover session start, resume, and end