fixed testing for search, but it's still pending