Test code for detecting mood using Twitter