updated twitterhandler and its test
added some api examples