Write test engine and 3 test cases for createFile().