fixed tests to use new queryengine scoping for initfrom chains