Rename a method on Vector class.
Add the test for Vector class.