memoised the result of the unzip method for Function1

I want to avoid a function to be called twice when unzipped. 

The test uses a side-effect to show that the fix is working.