I have here an equation. $$ h'(t_2) \delta(t_1 - t_2) = [h(t_2) - h(t_1)] \delta'(t_1 - t_2) $$
I checked the equality by integrating both sides with a test function. $$ \int d t_1 \phi(t_1) \ldots \to h'(t_2) \phi(t_2) \\ \int d t_2 \phi(t_2) \ldots \to h'(t_1) \phi(t_1) $$
Is this equation mathematically correct? I see a very similar derivation in this answer. If correct, can this kind of equation be derived using some sort of product rule? Checking using test functions may not be very practical for more complicated expressions. E.g. $$ h'(t_1) \delta(t_1 - t_3) = \int d t_2 h(t_2) [\delta'(t_1 - t_2) \delta(t_2 - t_3) - \delta(t_1 - t_2) \delta'(t_2 - t_3)] $$