Added missing declaration for perl_package_provider and fixed the spec tests