msi: Add tests for opening a package from a database.