fixed runSearch test