Fix membership handler test