It's inelegant, but wrap all calls to nullable? in the tests with with-clean-cache so that the memoization works.