Adding code and test for Fibonacci series