add test files and updated twitterapi code