Testing a two-phase update