# Type of request: This is a ...
[ ] bug report
[x] feature request

# Detailed description
As a Developer,
I want to be able to simulate BadDigest and InvalidDigest errors,
So that I can test the error handling logic

## Expected behavior
https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html
BadDigest: The Content-MD5 you specified did not match what we received.
InvalidDigest: The Content-MD5 you specified is not valid.

## Actual behavior
localstack returns InvalidDigest when MD5 does not match payload.


self._create_function(self.FUNCTION_NAME)
        
        payload = {
            'DestinationConfig': {
                'OnFailure': {
                    'Destination': self.DL_QUEUE
                }
            },
            'MaximumEventAgeInSeconds': self.EVENT_AGE,
            'MaximumRetryAttempts': self.RETRY_ATTEMPTS
        }
        response = self.LAMBDA_OBJ.put_function_event_invoke_config(
            payload
        )
        
        self.assertIsNotNone(response)
        
        response = self.LAMBDA_OBJ.get_function_event_invoke_config()
        
        self.assertEqual(response['FunctionArn'], self.LAMBDA_OBJ.id)
        self.assertEqual(response['MaximumRetryAttempts'], self.RETRY_ATTEMPTS)
        self.assertEqual(response['MaximumEventAgeInSeconds'], self.EVENT_AGE)
        self.assertEqual(response['DestinationConfig']['OnFailure']['Destination'], self.DL_QUEUE)