Adds tests for Undo/Redo.