Added test for enml conversion. And refactored.
Experimentally added .travis.yml to test in travis-ci.