Use doctests instead of unittests