Implemented mediation statistic testcse