`memoize` does not use a `WeakMap` atm, and when I changed it to use a `WeakMap` the tests failed for good reason.