testTripleStackTrace
Same theory as testSimpleStackTrace, but with the query wrapped in findall(X, bagof(Z, foo(Z), X), L); the resulting logicStackTrace gains both a bagof/3 and a findall/3 frame, in that order, between foo/1 and the top-level ?-/1.