added testing (doctest)
first try on travis_ci