Enhance code and Added Twitter Test Cases