added 2 new tests for enum mapping.

added two tests for #534