Updating generator specs.

Implemented more extensive specs for enum generator.