Removed some references to elements of empty vectors. Calls from test_att and test_var2
Reference to element of possibly empty vector removed in NcDim::isUnlimited
All test running in debug mode