Further XQuery Update tests and some XPath test fixes

Tests that make sure when you are running XQuery Update, that attributes are correctly indexed.