tests: Reverted previous change, do not append in createLocalFile()
tests: Fix assertion.