Fix bug in writing cache hit rate
Simulate write by reading first (hack)
Work around bug in examples