An XQuery test framework for MarkLogic