Vec2 tests


Adding missing tests for Vec2 and fixing related issues.