added write, vsum, and vmul tests