doctest sample code on Elixir