ir_nec: add test for the optional carrier detect feature