get coverage of io methods