print write test