simplified exception, removed YamlTester#getTypeName()