Added some deeper tests for panel switching.