Set up a test environment and added basic specs for Session.