Add method getContents

getContents is only for testing
Add PackageInstallerTest