Testing of twitter.js