kqueue tests: Add a regression testBased on the test case submitted by Andreas Bock for PR 275286.PR: 275286MFC after: 2 weeks