add more unit tests for cli mojito test
Merge pull request #962 from lzhan/clitests

add more unit tests for cli mojito test