tests: two new tests to verify pkg install/update with no files.
Fixed install/update tests on pkgs with no files.