Integer tests for jl46853 and twl378