test for memoizing fib