Fixed test so that ADD/UPD json is correctly compared to ADD