check.conversion function

Check that the conversion to a data type does not change the number of NA values