Make test less brittle.

Just check the interesting text is in there somewhere, don't fail if there is extra warning text.