Add tests, packaging.