[tests] Increase allowable timing variance to 10 milliseconds

The travis-ci machine must be under quite high load - the timings were 3
milliseconds different than the correct sleep time.