fix unit test with tmux