Added illegal argument exception
Fixed problems with getTweets test