Test for doctest.
Proper test.
Use the doctest.
Add the doctest to travis.