Test if second parameter is accepted for package type