Changed test scripts to also print node's content ("text" property).