Removed after_created and added test to recipe_spec

Accidentally deleted the branch, closing #2157