tested that stake caching works