check if doctests pass