Adds tracked action for particular case of delete
Minor fix for bug in undo/redo with empty action array
Adds basic tests for undo-redo