Fix autocomlete of module docstring

and add the corresponding test case