Fix test code yahoo and twitter