testSubAtomTypeErrorAtomIsInteger

Tests the query

?- sub_atom(5, 2, 2, _, S).

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