added cli interface for generator testing