Refactoring of generator.
Added generator for testing of erroneous help commands.
Added test for the case where help is given too many options.