Added writeVector3 test.