Passing unit tests for user and twitter_api