Added duplicate message properties in settings
Updated tests. Allowed for null settings. Defaults to no duplicate message detection.