tests: workaround for 'broken kqueue' error on macOS