#35: Test memoisation returns the same value