Added a fully functional Enum class and a test scenario for it.