This is a cut and paste of what is in the community cookbooks tests.  It works so I did not see and urgent need to clean it up.