Unit test fixes for systems with coarse grain last-mod times