tests for inverted reference and xmlDriver