Fix so that coverage works in 1.8.7 and 1.9
adjust lossiness in test timing