// need to add tests for arrays, sequences, struct, exceptions
public void testReadArray() {
int data[] = { 1, 1, 2, 3, 5, 8, 13, 21 };
Buffer buf = new Buffer();
OutputStream oStream = new OutputStream(buf);
oStream.write_long_array(data, 0, data.length);
InputStream iStream = oStream.create_input_stream();
CorbaObjectReader reader = new CorbaObjectReader(iStream);