contrib: add a test for memory leaks
contrib: complete test with Storable dump/load

Test if Storable also saves the "weak" state.

Hint: it does.