pass factorial test