wrap a few more tests around search callback