Added text message functionality, test partially finished