test for flask and twitter