Add unit test for the pathloss model

We mainly want to make sure the SINR varies over the time.
receivePacket() now handles when the signal is below radio sentivity
Add some embryo code for decoding incoming frames