@Test
public void testLocateForEqual() {

    assertEquals(set(0),  test.locateForEqual(exp(M, 0)));
    assertEquals(set(1),  test.locateForEqual(exp(M, 1)));
    assertEquals(set(2),  test.locateForEqual(exp(M, 2)));
    assertEquals(set(0),  test.locateForEqual(exp(M, 3)));
    assertEquals(set(1),  test.locateForEqual(exp(M, 4)));
}