test: whitelist the expected modules in test-bootstrap-modules.js
Be explicit on the modules that are expected to be found and add an appropriate assertion failure message to help debug when the list changes.
Fixes: https://github.com/nodejs/node/issues/23884
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines