unit tests for netcdf_file "a" mode