@Test
public void testContains() throws Exception {

    System.out.println("contains");
    BloomFilter instance = new BloomFilter(10000, 10);
    for (int i = 0; i < 10; i++) {
        byte[] bytes = getBytesFromUUID(UUID.randomUUID());
        instance.add(bytes);
        assert(instance.contains(bytes));
    }
    assertFalse(instance.contains(UUID.randomUUID().toString().getBytes("UTF-8")));
}