Test authorized key works
Created by: player1537
This adds tests to ensure that the deployment of keys works correctly when connecting to a server. To allow these tests to run on Travis, we also need to generate an ssh key before running the tests.