testing I/O lib