[#1801] Fix test_documentation exit code.