    @Test
    public void testCreatingScoreFunction() {

        SuperFactory sf = new SuperFactory();
        RelatednessFunction func = sf.create("cosine", RelatednessFunction.class);
        Assert.assertTrue(func != null);
        Assert.assertEquals(CosineRelatednessFunction.class, func.getClass());
    }