fix issue with attached panes on unit tests