Add tests to create session.