Add: one more test case to test log window and progressbar behavior when switching between documents