added tests related to help, improved help generation
added cli test