added new test in join grouping