Add complete tests to validate a PKG_INSTALLED package