Added tests for the mediators