Allow use of alternative package manager
Fixed test script