Add test to assert we preserved yaml deserialization exception behavior.