combined tests.   added a test for clear with locked keys, under a node loss situation