return bytes array as a shared pointer
Fix unit test for SensorPacket following a change in the return type of GetBytes