Add explicit casts for reconnect-on-tariff-change tests to shut up gcc