Added tests for liven and memoize