test: better assertion for async hook tests
The existing assertion was misleading to whether there were too few or too many events of a particular type. Improve the assertion message.
Related: https://github.com/nodejs/node/pull/27558
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines