Test Session creation.