Implemented some unit tests so Lucas won't be upset.
Appropriately, fixed a bug in the reporting of subdirectory differences thanks to the new unit tests.