Refactor tests to use createManifestFiles method