Refactor testdriver.
Update testresults.