Making good progress on the tests.
First pass at a test suite for dir.js and file.js in concert.