Improved timing tests.

Thanks to Daniel for suggestions in dkuppitz/rexpro-client#6.