New test application for the CoSenS MAC protocol