test for logical vector from initializer list