libyaml: add test