Don't output to stdout from lib non-interactive methods

It pollutes the test output too much.