Removes memoized variables which prevents tests from passing