add pre_cook recipe to test_prerequisites

Hi, I made a number of changes to custom_cookbooks. You can merge them into master.