fixed the TestSession bug where the