Added a test for the return value of memoized function
Added a test for the return value of memoized function