added factorial tests