Unlinking expired cache files, organizing tests and adding a test for caching.