Adapted test to new context item strategy, new error code.
New tests
Tests XD0001 is raised if more than one document appears on the connection for this input port.