Added tests with mock class for social updater