 Schäffer developed a chemical test to help with the identification of "Agaricus" species.A positive reaction of Schaeffer's test, which uses the reaction of aniline and nitric acid on the surface of the mushroom, is indicated by an orange to red color; it is characteristic of species in the section "Flavescentes".The compounds responsible for the reaction were named schaefferal A and B to honor Schäffer.