GPII-245: improved tests for the session.