Allow running "test_htmlreport.py" from any path

This fixes a Travis CI failure.