Create multithread groupby tests