Add test for simple enumeration type.