[tests] add tests for relations views
[d3 diagram] add more info on relation overlay