File cache tests