These doctests also fail for me, because the random numbers aren't deterministic.  Either do ``np.random.seed`` at the top or just doctest skip this line