Changed the mod_python.cache.FileCache.check() method so that it stat() then open() the file, rather than open() it and fstat() it. Added a unit test to check whether the publisher cache is doing his job correctly.