Add ec2 stub tests