add test for yaml parsing