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