Fixed measuring errors on threaded tests