@Test
public void testUpdateAllocations() {

    client
        .createExperiment("exp")
        .addTreatment("control")
        .apply();
    client
        .updateAllocations("exp")
        .allocate("control", 100)
        .apply();
    assertEquals(1, client.getAllocations("exp").size());
}