return new junit.framework.TestSuite(clazz);
return new TestSuite(clazz);
    private Test extractTest(Class clazz) throws SmartFrogInitException {        //todo: verify that the class implements test or testsuite        try {            // check if there is a suite method            Method method = clazz.getMethod(SUITE_METHOD_NAME);            return (Test) method.invoke(null);        } catch (NoSuchMethodException e) {            //if not, assume that it is a testclass and do it that way            return new junit.framework.TestSuite(clazz);        } catch (IllegalAccessException e) {            throw new SmartFrogInitException("No access to the method "+SUITE_METHOD_NAME                    +" in class "+clazz,e);        } catch (InvocationTargetException e) {            throw new SmartFrogInitException("Exception in " + SUITE_METHOD_NAME                    + " in class " + clazz, e.getCause());        }    }