Fix running NetCDF tests.