Remove unnecessary condition out of dta build graph.
Add additional dta and infoflow test policy.

Get full test coverage on graph building functions.