Added test methods for WebApiCacheHelper.