Add commonTestFunctions, replaceStringInFile and stubbed out personalizeFiles