Extract with new lib, new pdf , new tests