Fix tmux tests
Also fix bash tests