tup1.set(0, 4.0);
dBag1.add(tup1);
Tuple input = TupleFactory.getInstance().newTuple(2);
input.set(0, dBag);
input.set(1, dBag1);
DataBag output = cov.exec(input);
Iterator<Tuple> it = output.iterator();
Tuple ans = (Tuple)it.next();
assertEquals((String)ans.get(0),"a");
assertEquals((String)ans.get(1),"b");
assertEquals(1.11111, (Double)ans.get(2),0.0005);