Fix test cases when execSync doesn't install properly