t: move i/o testing routines to Test::PLP module