Merge pull request #331 from ovatsus/master

Improve error messages of documentation tests