Add tests in completion/docstring.py