bugfix: handle enums with a single value; updated enum specs

Hopefully the last fix for the enum changes.  Updated the specs for enum and expanded them to cover a few other things.