changed xml interface. added new test on long data.