Make the cookbook testable and fix SHA error in attributes file