vector and its test