Classification Devices for Aggregate Testing