Use CookiecutterCleanSystemTestCase in test_generate.TestHooks.