cleanup; dead letter logging when running tests