Test for vector input.
test exception