Fix various broken test cases in ChocoButter branch

Fixed broken test cases:

* Defect_MAGN_190
* Defect_MAGN_590
* ShiftSelectAllNode
* TestDeleteCommands.