Can you add more details about this test? It looks like collect_cdf_datasources() will try to copy files as well. Doesn't that fail if the files don't exist?