Fix bad nesting of test results in webdriver reporter HTML output

Fixes #65