updated test script for xml module