Replacing in files of test