Wrote a test for the benefit-from-previous-work heuristic.
Merge branch 'time_mgmt2' of ssh://github.com/Orego/Orego into time_mgmt2