Tests for p:xquery (Partly ported from 1.0)
Tests p:xquery: Arrays can not be variable values in XQuery 1.0