C. difficile or Clostridium difficile often causes gastroenteritis, which would explain the reason for a test to rule it out.
Hope that helps!!!