Add YAML test. This doesn't work currently because Union return bad
results.