Undo/Redo—initial implementation

WYMeditor's undo is, in some cases, not accurate.
Could you split this test case up into multiple smaller, focused test cases?