Tests for YAML parsing.