I think you can remove this test and all the twitter1 stuff. Nobody should use API 1.0. Its behaviour is undefined. I don't think it's worth testing undefined behaviour.