add XQuery test for fn:trace