fixed obsolete, strange, incorrectly written tests
made memoize file-oriented
rename to persistent_memoize