@Test
public void testFlatMeasurementGetsParsedCorrectly() {

    byte[] packet = new byte[]{1, -31, 7, -94, 50, 58, 3, -5};
    Assert.assertTrue(MeasurementProtocol.isDataPacket(packet));
    Leg actual = MeasurementProtocol.parseDataPacket(packet);
    Leg expected = new Leg(2.017, 71.2, 4.5);
    assertLegEquality(expected, actual);
}