Tests for createFile() and readFile()