New benchmark to check Legendre measurement.
Results collection did not actually happen in measure_g_legendre.
Test for the Legendre measurement.