Using temp dirctory as test cache. Cache is now correctly deleted.