test setup
refactor recipes for tests