membership qunit tests

Change-Id: I7d84796b7d53f4fc081755140024c73bff340b7f