Fixed the folder permission bug when creating folder for Cache class.
Updated all test cases for latest changes.
Merge pull request #7 from colemantung/master

Fixed the folder permission bug when creating folder for Cache class. Updated All test cases.