added integration test for WriteablePackageFragment (closes #2)