try {
statisticsService = new DefaultStatisticsService("stats");
CrawlerTask task = new CrawlerTask("http://google.com/", 1);
statisticsService.afterScheduling(task);
assertNotNull(statisticsService.getDomainStatistics("google.com"));
assertTrue(statisticsService.isCrawled("http://google.com/"));
assertTrue(statisticsService.getDomainStatistics("google.com").getScheduled() > 0);
} finally {