Only use % formatting when testing % itself, because only str.format is guaranteed to be available on any port.
From now on, all new tests must use underscore. Addresses issue #727.