Added more test cases for UndoManagerTest
Added some comments into the classes