Created the General.test_bug_21720_pipe_switching_with_tab_closure GUI test.
This is to catch bug #21720 (https://gna.org/bugs/?21720), the failure to set the current data pipe
in the GUI when the current and non-last analysis tab is closed. The test replicates the steps as
outlined in the bug report.