unit test of vector2