Both stop and restart have supported customizing the signal that is sent to the container since api version v1.42 but it seems that it has not been added here. It would be very helpful if it could be added.
I would have a crack at it but I am not very familiar with writing unit tests. I saw that it is implemented for kill so it might not be too hard but I'm not sure.