Test harness. Basic DataInput implementation