finish cookbook and testcode.rb