OSB's XQuery implementation from a JUnit test