tests for Vector2 dot and cross