updated api test for new search capabilities