clean up test for session.