Measure timeouts less precisely in tests to avoid spurious errors, and use 0.1 instead of .1 everywhere