Update packaging.
Add a test.