Adding unit tests to verify issue https://github.com/jiaqi/jmxterm/issues/6