CFY-1574 add test for 2 relationship hops
CFY-1574 flake8