modify test and cookbook