Test sync and async stores with Cache