added a unit test for the MigrationDir class-like thing