Adds PackageInfo unit test

Since a lot of functionalties are reallying on thsi module, and I need
to make it able to detect debian version, better to unit test the
package.