Add test for Vec3, and hashCode implementation in Vec3 trait.