testNonVarFooAssignment

Tests the query

?- (foo=Foo,nonvar(Foo)).

succeeds on a solver initialized with default built-ins and with and empty theory, producing 1 solution which binds Foo to foo.