make tests run a bit faster

The existing tests test emitting 100 warnings at a time, which slows
them down substantially for no real gain.