fix syntax error in undo-manager test.