Add test code for search_or_error() #17