Test for named compound or class of compounds