Fix gen-test-report.py script

OTS review by @mlucy