added an automatic doctest test suite