A tentative to make timing tests cleaner.