add/fix test for list.search on nested list

handle empty names in list returned by `list.search` as mentioned in #42 and fix test to use `expect_identical` now since comparing lists instead of vectors

let me know if you want a separate pull for `master`