Extended unit-tests for Session and SessionManager