public void add(String topic) {
        if (topic == null) {
            throw new IllegalArgumentException("topic can not be null");
        }
        add(Numeric.hexStringToByteArray(topic));
    }
@Test
    public void testEthereumSampleLogsBloomReconstructionFromItsTopics() {
        Bloom reconstructedBloom = new Bloom();
        for (String topic : ethereumSampleLogs) {
            reconstructedBloom.add(topic);
        }
        assertEquals(
                new Bloom(ethereumSampleLogsBloom),
                reconstructedBloom,
                "reconstructed logsBloom should be equal");
    }