unit tests no longer depend on mtime resoultion

OSX's filesystem does not have a mtime resolution with milliseconds. I changed the tests to use relative timestamps generated with `Time.now` to make it work with different mtime resolutions.