Add tests for class docstrings.