They had been careful, but nothing in the Mundane or Magical worlds was 100% guaranteed. Hermione considered casting a diagnostic spell, just to be totally clear on the result, but then discounted it as the lines on the tests seem to glare at her.