[FIX][TEST] membership: fixed tests. It is now clear that

tests crash and that there is a mismatch between the tests and
the module. However as the tests were badly written the asserts
did not fire.

Now the tests crash as they should be doing since a long time.