vector and testing