The 34151 will only work if you want the outputs inverted.
The 34152 has non-inverting inputs.
The 34151 has inverting inputs.
Other than that they look the same.
A resistor of the proper value and an LED would work for a low side driver tester. But you would need to figure the resistor to suit the voltage and LED you are using.
A resistor of the proper value and an LED would work for a low side driver tester. But you would need to figure the resistor to suit the voltage and LED you are using. How do you determine this the data sheet for a 33152p shows 6.1-18v current peak 1.5 delay 55ns non inverting