xml tests in java