add comments and tests to time-travel.