@Test
public void addCrawleableUri() throws Exception {

    mongodbQueue.open();
    mongodbQueue.purge();
    mongodbQueue.addUri(uris.get(1));
    assertEquals(1, mongodbQueue.length());
    mongodbQueue.addUri(uris.get(2));
    assertEquals(1, mongodbQueue.length());
    mongodbQueue.close();
}