WIP: error handling in Generation::search tests.