Updated the syncFileSystem test.

The test now creates a file and writes to it.