fix typo on test_session.py