Fix unit tests for Twitter class, object and oauth.