Fixed test_doctest