# 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.


for thread in TMP_THREADS:
        if thread:
            try:
                if hasattr(thread, 'shutdown'):
                    thread.shutdown()
                    continue
                thread.stop(quiet=quiet)
            except Exception as e:
                print(e)
    for p in TMP_PROCESSES:
        try:
            p.terminate()
        except Exception as e:
            print(e)
    
    try:
        import asyncio
        for task in asyncio.all_tasks():
            try:
                task.cancel()
            except Exception:
                pass
    except Exception:
        pass
    
    clear_list(TMP_THREADS)
    clear_list(TMP_PROCESSES)
def clear_list(list_obj):