JJ: insert deps and parent for testcases