Fix occasionally failing spec.

Time.now measures time with millisecond precision, so the spec will 
fail if Time.now - start is less than 0.501 seconds.
Merge pull request #536 from sluukkonen/fix-failing-spec

Fix occasionally failing spec.