added doctest for repr method, updated chages.rst