Restores test behavior, makes inject method more safe against collisions.