Make the knife cookbook test run intelligently