Makes sure that the cache dir is there.
Improve clean_cache method. Add a test.
Merge pull request #258 from aplanas/master

Improve clean_cache method. Add a test.