Updated sentiment_analysis and test