Test RandomAccessFile Class