Fixed unittest in vector.