Add test for non-ascii characters in docstrings

Closes gh-1179