carrier detector, updated threshold detector test