Adapt doctest to deal with small representation errors