More test cases for commTool and bug fix for echoToolTest