Add tests for is_package.
Implement is_package.
Add empty functions to sync database.