pearson for each testcase