Fix specs failing due to use of Time.round

Time.round which is not supported in all Rubies, this pull uses Rspecs own be_within for doing the appoximation, which should work across all versions