tests: new tests to verify pkg install order with real and virtual pkgs.