Added test for update phase