    @Test
    public void shouldReturnFirstPartOfDomainWhenAskedFor() throws Exception{

        String url = "abc.somesite.com/aStory";
        AttributeDetail detail = new AttributeDetail();
        detail.extractor_args = Arrays.asList("1");
        SubDomainDynamicExtractor extr = new SubDomainDynamicExtractor();
        assertEquals("abc", extr.extract(detail, url, null));
    }