add support for ec2-key to ec2-tester fix