add_host_key test was invalid, as tested function didn't get called