add test for search() in shared cache