test_backgroundparser: Don't hang under Windows
File was still locked by the QTemporaryFile object and the subsequent Document::saveAs() failed and causes a popup.