Added unit tests for PackageBuilder