Improved test of Variable.dtype_str