return assignment factorial test