tests: add tests for invalid extra operations on a shutdown socketThe tests cover some error paths that normally happen.