unit tests extended for messageView.