Corrected errors in CC2420 test functions