Api Memcache Testing Function

This pull request contains the code to run the /CacheTest on your machine. Do you mind running a couple of the tests a few times and logging your results in the comments of #24  ?