Wrote Manager.pytest() and Manager.doctest() tests.
Updated TODO.