connected components test case with 2 joins with the solution set