tests: Unset $TERM to avoid error if $TERM is set to an unknown terminal.