This re-works the code which works out which tests need re-running to be more accurate.
cleanup
cleanup-hidden