changed libtest slightly