Testing Undo function changes