Added test for update closed state