Testing program for I/O