added specs for setting class_name
new way to specify enum class