add test of package and sub command structure