added test case to TestCompareNodeCli.java