move doctest to nose