Fix: Return nonzero exit code when doctest fails