added function test_import_key_pair
added function test_import_key_pair