tests: delete temporary files
Pass the test objects as parents for the QTemporaryFile's, so they are properly deleted at the exist.