test for #search