Add unit test for Packaging.retrieve() and Packaging.all()