Update cookbook and testcode files