Fix CachedHttpKernel tests, fix events