Save testing data in yaml file