added test for import_key command