Fix ec2 fact retrieval tests