Test testCreateWriteAndRemoveFile