modify test to use most DataInput/Output primitives