Add spec to test fib.rb.
Fix errors in methods.