Fixed MigrationJob unit tests