added groupingBy and joining test