[#57532340] testing DAG's in direct_citations

1. Testing the functions of DAG's in citations.direct_citations(),
[DAG'S.ipynb]
2. Added a : in a for loop in terms.py, not for this story but got that
error somehow while testing something,