Fixed errors in yaml test