making test not always run
adding more gpl code from traveldistance
pdb library beginning