cache system debug finished

the cache works now for all old tests!