unit test for undo method 'undoReturnLastCommand', test failing