expand test_decode_cf_variable to cover Variable and DataArray