Test cast of ValueGeometry into Text