tests for io_file module