Improve trace2html_unittest