Testing membership operations.