changelog
add new method import_key()
tidy up test