Fix test some test failures caused by dill.memorise