Fix broken enum encoding
Add test for enum encoding
Update to elixir v0.14.1