improving fragment tests
xpath fixes