After identifying candidate queen pheromones by analysing chemical profiles of queens and workers, they created synthetic samples of the pheromones and tested them to see whether they inhibited worker reproduction.
In a crucial test of their sensor, the researchers used higher levels of fungal pheromones than those normally found in patient blood or urine samples.