test with cache and bloomfilter