Add more tests

Change-Id: Ie0e0e3906edaa278805917e6303b1d5f1daba864
Add additional yaml/xml tests, literalinclude them

instead of using inline examples in docstrings. With literalinclude, we
know the examples are tested.

Change-Id: I95fbb4726bd6731d9687d09a3d6e7d4e5a445131
Tiny spelling fix: YMAL -> YAML

Change-Id: Ic37d764cc7b23759202d47d338af22c0ea25f080
Merge "Add more tests"
Merge "Add additional yaml/xml tests, literalinclude them"