trivial tests script, xml cleanup.