Testing session creation.