Move get_ssh_client
Add some tests