Add tests for GET_LAST_PACKET_DURATION.