few fixes to package tests