test: Use write instead of display.