add test for applying change; add example output for undo/redo