Test detect