testSubAtomTypeErrorAfterIsNotInteger

Tests the query

?- sub_atom(banana, 4, 2, m, S).

fails on a solver initialized with default built-ins and with an empty theory, producing exception type_error(integer, m).