fixed test... by cheating

This fixes issue #41, apparently the enum annotation does not play nice with nested enums.

They enum annotation has to be applied on existing class-level enums.