test: Improve hs intropoints unit test with expected msg log.
Now that #20029 (moved) has been merged, during review there has been a request for improving the unit tests for the failure cases to expect a log message.
Now that #20029 (moved) has been merged, during review there has been a request for improving the unit tests for the failure cases to expect a log message.