fix deprecation warnings for assertEquals
slightly better fix for #33 screen+tmux TERM