Fix broken test: suck in all warnings into a single scalar, not just the latest one.