mock out AppStorage Test, use delegate pattern to customize cache object