Refactor and add tests to recipes_controller