tests vectors length