test example searchMaterials