add test case for extract_ssh_key