some code to test tmux sessions