fixing undo test