recipe_processor: rearranging some code for consistency - test-related functions first, run-related functions second
recipe_processor: rearranging some code for consistency - test-related functions first, run-related functions second

mvendra/mvtools,mvendra/mvtools,mvendra/mvtools