Add test code for find_or_error() #17