Added tests for Window#getPanes.