add tests for the session creator