Refactored Vec2f testing.