Added test for enumerations