Adding testing routines for netCDF unit tests.