a start on fixing I/O tests