tests/unit: fixed unittest error

Unittest is broken by previous series about membership management.

Signed-off-by: Kai Zhang <kyle@zelin.io>
Signed-off-by: Liu Yuan <namei.unix@gmail.com>