tests for XML parser