testing i/o