Added test-cases for the code in data.enum package