Use CPM_CACHE_DIR for tests.