Fix tests for DoubleGauge and LongGauge