@Test
public void read_beyond_end_raf_long(){

    try{
        Volume v = new Volume.RandomAccessFileVol(Utils.tempDbFile(), false);
        v.getLong(1000000);
        fail();
    }catch(IOError e){
        assertTrue(e.getCause() instanceof  EOFException);
    }
}