change test to yaml format