Added tests for messages and new message views