Your objective in taking samples and performing tests as well as knowing the limitations of the test you choose are all important for microbiological testing.
Unlike foodborne infections that strike without warning, folks who have food allergies (or food intolerance) generally know of them and avoid the offending ingredients.