Revert "Get test_doc.py tests pass."
The problem may come from the IF / the code, so we should not change the expected result. Need further investigation.
This reverts commit 4150538fc01a020eafbe8eec91858f1f2e1fe89f.