Fix MigratorJob tests