test intermediate push malformed erlang term being generated on native side