[FIX] XQuery, GH-690: Added test for RestXQ.