* adjusted JSONCache to compile for OSX
+ added test suite for the JSONCache class