Updated doctest tests.