str += " rightMemory, [h0];\n";
str += "join2:\n";
str += " leftMemory, [[h3, h0]];\n";
str += " rightMemory, [h4];\n";
NodeTestResult result = executeTest( str );
Map<String, Object> map = result.context;
InternalWorkingMemory wm = (InternalWorkingMemory) map.get( "WorkingMemory" );
List<InternalFactHandle> handles = (List<InternalFactHandle>) map.get( "Handles" );