Testing XML functionality