Added ELLIPSIS to doctest and fixed test