testando factory