Fixed compatibility with test runners.