more tweaks to package testing framework