add more unit tests for cli mojito test