Only check panes in center
Only check panes in center

atom/atom#13977 adds multiple pane locations and updates the
`atom.workspace.getPanes()` API to return the panes from all of them.
This fixes the resultant test failures by only checking the panes in
the center.

jarig/tree-view,atom/tree-view,samu/tree-view