Added tests to validate enumerations properly.

The spec actually doesn't require enumerations to all be of the
same type. So don't force it to be.
0.0.10 - Fixed incorrect checking of enumerations

Version bump.