Fixing stock exchange unittest
changes in DAGBuilderImpl to choose always the named element as
representative