TST: io: minor clean up in netcdf tests