test format output