The test cases for docutils should only be added when docutils has been installed with adequate setuptools metadata, otherwise the Trac server will not be able to load the trac.mimeview.rst module due to the extra_requires constraints from setup.py.
Thanks to eli for pointing out the problem.