#225: test: add test cases for pkg.save_package