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.

I think a temporary fix would be to warn users, that they shouldn't reference an existing nested enum.

I diagnosed it, and I have no idea why it refuses to work with a nested enum...