fix failing tests on osx because of low mtime resolution