Cookbook helper, sets up testing environment