get search working with tests!!!!!