Update tests for warnings as correctly seen post-d34aaa49

Prior to d34aaa49, the test would pass in two circumstances:
 1. There was one warning, which matched "Couldn't parse..."
 2. There were two or more warnings, the first two of which were
    identical

Case (2) was in effect, not case (1) as the code may have mislead one to
believe.  As such, the test was even more confusingly useless prior.

Update the test to make explicit that it expects the warning twice.