change doctest to use pretty on output types to make the tests more readable