We need to not count on a specific strign here, we simply need to be tolerant of errors - perhapsan assert throws without a specific expected messages is ok here, but make sure to include the expected warnign as a comment