add context to repo.Flush() call in test code
add context to repo.Flush() call in test code

gh-1434

restic/restic,restic/restic,kurin/restic,kurin/restic,ar-jan/restic,middelink/restic,ar-jan/restic,middelink/restic