implemented messageMap
created testCreateOneMessage