Add test for file status cache invalidation