Add unit tests for MigrationDumper.