t5541: avoid TAP test miscounting