adding/improving tests around validate_package(), adding support to same for package arch handling