[test] Ensuring correct insertion and indexing of attributes in namespaces

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