added test for WriteablePackageFragment