Add some initial tests for Session.