Add test that verify `singleRoot()` throws on Invalid YAML
Add test that verify `singleRoot()` throws on Invalid YAML

Invalid YAML is used by `YamlParserTests.testParseInvalidStringThrows` in SwiftLint.

jpsim/Yams,jpsim/Yams,jpsim/Yams