Finished code for scrambling a shared stash again.  Added test code.