Add tests for cli generate command, fixed inaccurate comment
Update README.md