Elixir 0.14.1 test

I fixed most of the tests. There is only one failing that I don't know how to fix. 
I fixed the code based on the test. There were two test cases that I had to change. You should definitely review them to make sure they are ok.