Add tests for Session.Connect()