more testing of detection functions