added some tests to messaging and qualityoflife