assertEquals( 1, genExp.getSources().size() );
// Main Tests start here
assertEquals( BinCondExpression.class, genExp.getSources().get(0).getClass() );
BinCondExpression add = (BinCondExpression) genExp.getSources().get(0);
assertEquals( LessThanExpression.class, add.getCondition().getClass() );
LessThanExpression lessThan = (LessThanExpression) add.getCondition();
assertEquals( ProjectExpression.class, lessThan.getLhs().getClass() );
ProjectExpression prj1 = ((ProjectExpression)lessThan.getLhs());
ProjectExpression prj2 = ((ProjectExpression)lessThan.getRhs());
assertEquals( ls.getField(0).uid, prj1.getFieldSchema().uid );
assertEquals( ProjectExpression.class, lessThan.getRhs().getClass() );
assertEquals( ls.getField(1).uid, prj2.getFieldSchema().uid );
assertEquals( ProjectExpression.class, add.getLhs().getClass() );
ProjectExpression prj3 = ((ProjectExpression)add.getLhs());
assertEquals( ls.getField(1).uid, prj3.getFieldSchema().uid );
assertEquals( ProjectExpression.class, add.getRhs().getClass() );
ProjectExpression prj4 = ((ProjectExpression)add.getRhs());
assertEquals( ls.getField(0).uid, prj4.getFieldSchema().uid );
assertEquals( 4, inputPln.getRoots().size() );
for( PhysicalOperator p : inputPln.getRoots() ) {