fix session test