added new test cases to testHandleSortCommand and testHandleDeleteCommand