fixed test_cdo and improved handling of netcdf modules in cdo