Don't export version, remove pkginfo dependency.
Add test cases.