Added test cases for enumerations