add some test for BasePackage