fix bad injection in test