Add tests for cli generate command, fixed inaccurate comment
Merge pull request #328 from colinwren/master

Add tests for cli generate command, fixed inaccurate comment