+tes #15132 Add additional overloaded expectMsg to TestKit (for validation)

Backport from `master`. Adds `expectMsg(max, hint, o)`.