Fixed some issues with the test runner.