@Test
public void phys_append_alloc_link3(){

    long[] ret = e.physAllocate(100 + MAX_REC_SIZE*2);
    long exp1 = MASK_IS_LINKED | ((long)MAX_REC_SIZE)<<48 | 8L;
    long exp2 = MASK_IS_LINKED | ((long)MAX_REC_SIZE)<<48 | (8L+MAX_REC_SIZE);
    long exp3 = ((long)120)<<48 | (8L+MAX_REC_SIZE*2);
    assertArrayEquals(new long[]{exp1, exp2, exp3}, ret);
}