Additional test for implicit stdout formats.

This is to stress that duplication removal works even for implicit
stdout streams.