For teamcity it is necessary to emit a testFinished message even when the test is marked testFailed.