Added docstring
Added test for make_package_spec