Rename package_str to package in public API
Add unit test for the label module
Add unit test for the utils.topology_sort function