Added testcode.rb file for cookbook.rb