Added a test for nthFib