Stav dette: When Can School Inputs Improve Test Scores?