Write method to test fibonacci method and tests for the method