More tests for yaml_parse + minor clenup