added date for messages + tests