Add unit tests. Rename package.