use testing_session function