Update tweet_sentiment.py

In the test case, there was an off-by-one issue when keys were missing.  Problem was in the Except.