Fixed run-test bug.