Fixed doctests involving dict objects