Fixed unit test for copyFileContent, to include recently added branch.