Test host key adding