Move all code under test to a single module, recipe.py

Move all code under test to a single module, recipe.py