Specify CPM cache directory when running tests.