add xml weak index testing