Fixed test: Not checking exception type on Invalid XML