Fix for file cache delete
Fix memory cache get method
Add tests