Consolidated helper procedures. General setup/cleanup for full generation into a cache dir. ccommand tests, results separated. plus new test.