Fixed test CLI command not working when running from npm global install.