Update errors.rst for error printing change
Fix some other small errors for doctests