Integrate unit test for vec2 class