fix optional enum problem
empty -> mempty
Test cases for optional enums
Merge pull request #12 from mcmaniac/master

fix optional enum issue