Enhance dispatch_message expiration logic unit-tests.