created a test for a recursive factorial implementation