Improve add_recipe with test