fixed repository.search \nadded search test