Update tests to consider text-on-path feature for Travis build.

Changes: (1) remove arbitrary whitespace before comparison of XML
objects and (2) include new properties in stringent deep-equal test of
test object versus actual object.