update twitter api in PDTwitterTest.

twitter API v1 is now deprecated, update it for test.