Modified Test case for tests_social_platform.py