Enhanced XMLSource test