Refactor and add tests for Teamocil::Tmux::Pane