Fix failing test, normalize results from `search`

`#search()` was returning an array of objects rather than an array of strings. Now it returns and array of strings.