tests: Implement import in run-threaded
tests: Implement import in run-threaded

* tests/run-threaded.c (import): New.
(do_data_op): Call it.

gpg/gpgme,gpg/gpgme,gpg/gpgme,gpg/gpgme,gpg/gpgme,gpg/gpgme,gpg/gpgme