testArgFromFooInSecondTerm

Tests the query

?- arg(1,foo(a,b),b).

fails on a solver initialized with default built-ins and with and empty theory,