Add in some tests for good measure.

This creates a test directory in the working directory, and uses that to create and manipulate some new files.