Add initial test for XML parser example.