add unit tests for command mojito docs
Merge pull request #936 from lzhan/addunittest

add unit tests for command mojito docs