Fix cask-files unit tests.