Fix spec to call a method twice

To make sure that a method is memoized, I think the method should be called twice under conditions where it normally returns a different value.

Otherwise, we can't know if the result is memoized or the original method is invoked every time.